-- GENERATED SPELL FOR [Mariner Farseeker] --


function spell0_25053(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25053', 5281, 1)
end

function Sorts_25053(pUnit, Event)
local choix_sorts_25053 = math.random(0, 0)
if choix_sorts_25053 == 0 then
pUnit:RegisterEvent('spell0_25053', 1, 1)
end
end

function mob25053_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25053', math.random(1500, 3000), 1)
end

function mob25053_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25053_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25053_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25053, 1, 'mob25053_Action')
RegisterUnitEvent(25053, 2, 'mob25053_Leave')
RegisterUnitEvent(25053, 3, 'mob25053_Kill')
RegisterUnitEvent(25053, 4, 'mob25053_Die')
